#include <iostream>

using namespace std;
TreeNode* Mirror(TreeNode* pRoot)
{
    if (pRoot == nullptr)
    {
        return pRoot;
    }
    TreeNode* ans = new TreeNode(pRoot->val);
    ans->left = Mirror(pRoot->right);
    ans->right = Mirror(pRoot->left);

    return ans;
}
int main()
{

	return 0;
}